import {Component, OnInit} from '@angular/core';

@Component({
    selector: 'app-experimental-report',
    templateUrl: './experimental-report.component.html',
    // styleUrls: ['./experimental-report.component.less'],
})
export class ExperimentalReportComponent implements OnInit {
    experimentalReportData: any[]; // 实验报告图片数据
    noData = false; // 默认有数据（处于加载中状态）

    constructor() {
    }

    ngOnInit() {
        console.log('实验报告 ngOnInit');
        setTimeout(() => {
            // 测试数据
            this.experimentalReportData = [
                {url: '实验报告1.png', img: ''},
                {url: '实验报告2.png', img: ''},
                {url: '实验报告1.png', img: ''},
                {url: '实验报告2.png', img: ''},
                {url: '实验报告1.png', img: ''},
                {url: '实验报告2.png', img: ''},
                {url: '实验报告1.png', img: ''},
                {url: '实验报告2.png', img: ''},
                {url: '实验报告1.png', img: ''},
                {url: '实验报告2.png', img: ''},
                {url: '实验报告1.png', img: ''},
                {url: '实验报告2.png', img: ''},
                {url: '实验报告1.png', img: ''},
                {url: '实验报告2.png', img: ''},
            ];
        }, 500);
    }


}
